package me.zhengjie.modules.management.mapper;

import me.zhengjie.modules.management.domain.MrNotice;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @website https://docs.auauz.net
 * @Description:公告信息持久层
 * @Auther: chao.ji
 * @Date: 2020/12/15
 */
@Mapper
public interface MrNoticeMapper {
    /**
     * 新增公告
     * @param MrNotice
     */
    void addNotice(MrNotice MrNotice);

    /**
     * 删除公告
     * @param id
     */
    void deleteNotice(Integer id);

    /**
     * 修改公告
     * @param MrNotice
     */
    void updateNotice(MrNotice MrNotice);

    /**
     * 查询公告
     * @return
     */
    List<MrNotice> queryNotice();
 }
